//
//  MyButton.m
//  WebPDA
//
//  Created by Justin Yip on 8/19/10.
//  Copyright 2010 TenNights.com. All rights reserved.
//

#import "RoundRectImageButton.h"
#import <QuartzCore/QuartzCore.h>

@implementation RoundRectImageButton

- (id)initWithCoder:(NSCoder *)aDecoder {
	if (self = [super initWithCoder:aDecoder]) {
		self.layer.cornerRadius = 8.0;
		self.layer.masksToBounds = YES;
	}
	return self;
}

- (id)initWithFrame:(CGRect)frame {
    if ((self = [super initWithFrame:frame])) {
        // Initialization code	
    }
    return self;
}

/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
}
*/

- (void)dealloc {
    [super dealloc];
}


@end
